import request from '../utils/request.js'

// eslint-disable-next-line import/no-anonymous-default-export
export default {
    // 省
    getAddress: async (params) => {
        return await request.get("/api", params)
    },
    // 市
    cityAddress: async (params) => {
        return await request.post("/api", params)
    },
    // 区
    countyAddress: async (params) => {
        return await request.post('/api', params)
    },
}